from pyquery import PyQuery as pq
from lxml import etree
import urllib
d = pg("<html></html>")
d = pg(etree.fromstring("<html></html>"))
d= pg(url='http://google.com.hk')
#d = pg(filename=patch_to_html_file)

p = d("#hello")
print p.html()
